package org.jeecg.modules.demo.zhidingzhouqigongzuo.service;

import org.jeecg.modules.demo.zhidingzhouqigongzuo.entity.YPeihebumenbiao;
import org.jeecg.modules.demo.zhidingzhouqigongzuo.entity.YZhidingzhouqigongzuo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.system.entity.SysDepart;
import org.jeecg.modules.system.entity.SysUser;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 制定周期性工作
 * @Author: jeecg-boot
 * @Date:   2025-10-27
 * @Version: V1.0
 */
public interface IYZhidingzhouqigongzuoService extends IService<YZhidingzhouqigongzuo> {

	/**
	 * 添加一对多
	 *
	 * @param yZhidingzhouqigongzuo
	 * @param yPeihebumenbiaoList
	 */
	public void saveMain(YZhidingzhouqigongzuo yZhidingzhouqigongzuo,List<YPeihebumenbiao> yPeihebumenbiaoList) ;
	
	/**
	 * 修改一对多
	 *
   * @param yZhidingzhouqigongzuo
   * @param yPeihebumenbiaoList
	 */
	public void updateMain(YZhidingzhouqigongzuo yZhidingzhouqigongzuo,List<YPeihebumenbiao> yPeihebumenbiaoList);
	
	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);


	public List<SysUser> getZerenzhuguanid();
	public List<SysDepart> getPeihebumen();
}
